package com.social.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @className: VolunteerRegister
 * @description: TODO 类描述
 * @author: XiaoXu
 * @date: 2022/12/11 19:57
 **/

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("register_volunteer")
@ApiModel("志愿服务报名类")
public class VolunteerRegister implements Serializable {

    @ApiModelProperty("主键")
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("活动id")
    private Long activityId;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("报名信")
    private String letter;

    @ApiModelProperty("报名时间")
    private LocalDateTime registerTime;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty("状态")
    private Integer state;
}
